package com.example.kotlin

/**
 * @ClassName: Gun
 * @Description: java类作用描述
 * @Author: chenmengjia
 * @Date: 2022/2/3 15:27
 */
abstract class Gun(private val num: Int) {
    protected fun doSomething() {
        print(num)
    }

    abstract fun pullTrigger()

}